package com.hongxun.modules.bss.service;

import com.hongxun.modules.bss.entity.DDeviceBuyEntity;
import com.hongxun.modules.bss.entity.DMaterialBuyEntity;
import com.hongxun.modules.bss.entity.PurchaseEntity;

import java.util.List;
import java.util.Map;

/**
 * 点位设备购置信息表
 * 
 * @author zkcn
 * @email youeremail@163.com
 * @date 2018-09-04 10:42:47
 */
public interface DDeviceBuyService {

	DDeviceBuyEntity queryObject(String guid);
	
	List<DDeviceBuyEntity> queryList(Map<String, Object> map);
	List<DDeviceBuyEntity> queryListout(String pguid);
	List<DDeviceBuyEntity> queryListhz(String pguid);
	List<DDeviceBuyEntity> queryListByDDguid(String[] guids);
	int queryTotal(Map<String, Object> map);
	
	void save(DDeviceBuyEntity dDeviceBuy);
	
	void update(DDeviceBuyEntity dDeviceBuy);
	
	void delete(String guid);
	
	void deleteBatch(String[] guids);

	void insertOrReplaceOrDelete(List<DDeviceBuyEntity> entities);

	List<PurchaseEntity> purchaseList(Map<String, Object> map);

	int queryTotalForPurchase(Map<String, Object> map);

}
